getPackageFileDownloadInfo(DUP_PRO_Package_File_Type::SQL); $archiveDownloadInfo = $package->getPackageFileDownloadInfo(DUP_PRO_Package_File_Type::Archive); $logDownloadInfo = $package->getPackageFileDownloadInfo(DUP_PRO_Package_File_Type::Log); $scanDownloadInfo = $package->getPackageFileDownloadInfo(DUP_PRO_Package_File_Type::Scan); $installerDownloadInfo = $package->getInstallerDownloadInfo(); $sqlDownloadInfoJson = DupProSnapJsonU::json_encode_esc_attr($sqlDownloadInfo); $archiveDownloadInfoJson = DupProSnapJsonU::json_encode_esc_attr($archiveDownloadInfo); $logDownloadInfoJson = DupProSnapJsonU::json_encode_esc_attr($logDownloadInfo); $scanDownloadInfoJson = DupProSnapJsonU::json_encode_esc_attr($scanDownloadInfo); $installerDownloadInfoJson = DupProSnapJsonU::json_encode_esc_attr($installerDownloadInfo); $showLinksDialogJson = DupProSnapJsonU::json_encode_esc_attr(array( "sql" => $sqlDownloadInfo["url"], "archive" => $archiveDownloadInfo["url"], "log" => $logDownloadInfo["url"], )); $brand = (isset($package->Brand) && !empty($package->Brand) && is_string($package->Brand) ? $package->Brand : 'unknown'); $lang_notset = DUP_PRO_U::__("- not set -"); ?>
| : |
Name ?>
: ID); ?>
: Hash); ?> : NameHash); ?> |
| : | Notes) ? esc_html($package->Notes) : DUP_PRO_U::__("- no notes -") ?> |
| : |
Created)) : ?>
Created ?>
Created);
$datetime2 = new DateTime(date("Y-m-d H:i:s"));
$diff = $datetime1->diff($datetime2);
$fulldate = $diff->y . DUP_PRO_U::__(' years, ') . $diff->m . DUP_PRO_U::__(' months, ') . $diff->d . DUP_PRO_U::__(' days old');
$fulldays = $diff->format('%a') . DUP_PRO_U::__(' days old');
?>
:
: |
| : |
Version ?>
: VersionWP) ? esc_html($package->VersionWP) : DUP_PRO_U::esc_html__("- unknown -") ?>
: VersionPHP) ? esc_html($package->VersionPHP) : DUP_PRO_U::esc_html__("- unknown -") ?> : VersionOS) ? esc_html($package->VersionOS) : DUP_PRO_U::esc_html__("- unknown -") ?> : VersionDB) ? $package->VersionDB : DUP_PRO_U::esc_html__("- unknown -") ?> | Database->Comments) ? $package->Database->Comments : DUP_PRO_U::esc_html__('- unknown -') ?> |
| : | Runtime)); if (is_numeric($minute_view)) { $minute_view = gmdate("H:i:s", $minute_view); } echo strlen($package->Runtime) ? $package->Runtime . " ({$minute_view})" : DUP_PRO_U::esc_html__("error running"); ?> |
| : | get_type_string(); ?> |
| : |
contains_storage_type(DUP_PRO_Storage_Types::Local)) : ?>
|
| id); $storage_edit_nonce_url = wp_nonce_url($storage_edit_url, 'edit-storage'); ?> storage_type) { case DUP_PRO_Storage_Types::FTP : case DUP_PRO_Storage_Types::SFTP : case DUP_PRO_Storage_Types::GDrive : case DUP_PRO_Storage_Types::S3 : case DUP_PRO_Storage_Types::Dropbox : echo ''; break; case DUP_PRO_Storage_Types::Local : echo ''; break; } echo " {$store->name}"; ?> | " . urldecode($store_location) . ""; ?> | |
| : | build_progress->current_build_mode)) { if ($package->build_progress->current_build_mode == DUP_PRO_Archive_Build_Mode::ZipArchive) { $zip_mode_string = DUP_PRO_U::__("ZipArchive"); if (isset($package->ziparchive_mode)) { if ($package->ziparchive_mode === DUP_PRO_ZipArchive_Mode::SingleThread) { $zip_mode_string = DUP_PRO_U::__("ZipArchive ST"); } } } else if ($package->build_progress->current_build_mode == DUP_PRO_Archive_Build_Mode::Shell_Exec) { $zip_mode_string = DUP_PRO_U::__("Shell Exec"); } else { $zip_mode_string = DUP_PRO_U::__("DupArchive"); } } echo $zip_mode_string; ?> |
| : | Archive->FilterOn == 1 ? 'On' : 'Off'; ?> |
| : |
Archive->FilterInfo->Dirs->Instance);
echo "" . DUP_PRO_U::__('User Defined') . " ({$count}) "; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " " : "";
//UNREADABLE
$title = DUP_PRO_U::__("These paths are filtered because they are unreadable by the system");
$count = count($package->Archive->FilterInfo->Dirs->Unreadable);
echo "" . DUP_PRO_U::__('Unreadable') . " ({$count})"; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " " : "";
//WARNING: This may lead to more questions, hold off on release
/* $title = DUP_PRO_U::__("These paths are NOT filtered, but could be filtered on some operating systems");
$count = count($package->Archive->FilterInfo->Dirs->Warning);
echo "" . DUP_PRO_U::__('Warnings') . " ({$count})"; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " "
: "" . implode(' ";
*/
?>
', $package->Archive->FilterInfo->Dirs->Warning) . " |
| : |
Archive->FilterInfo->Files->Instance);
echo "" . DUP_PRO_U::__('User Defined') . " ({$count}) "; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " " : "";
//UNREADABLE
$title = DUP_PRO_U::__("These paths are filtered because they are unreadable by the system");
$count = count($package->Archive->FilterInfo->Files->Unreadable);
echo "" . DUP_PRO_U::__('Unreadable') . " ({$count})"; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " " : "";
//WARNING: This may lead to more questions, hold off on release unless needed
/* $count = count($package->Archive->FilterInfo->Files->Warning);
$title = DUP_PRO_U::__("These paths are NOT filtered, but could be filtered on some operating systems");
echo "" . DUP_PRO_U::__('Warnings') . " ({$count})"; echo ($count == 0) ? " " . DUP_PRO_U::__('- filter type not found -') . " "
: "" . implode(' "; */
?>
', $package->Archive->FilterInfo->Files->Warning) . " |
| : | Archive->Extensions) && strlen($package->Archive->Extensions) // ? $package->Archive->FilterExtsAll if (count($package->Archive->FilterExtsAll) > 0) { $filter_ext = implode(',', $package->Archive->FilterExtsAll); echo esc_html($filter_ext); } else { DUP_PRO_U::esc_html_e('- no filters -'); } ?> |
| : | Database->Type ?> |
| : | Database->DBMode ?> |
| : | Database->FilterOn == 1 ? 'On' : 'Off'; ?> |
| : |
Archive->FilterTables) && strlen($package->Archive->FilterTables) ? str_replace(';', ' ', $package->Database->FilterTables) : DUP_PRO_U::__('- no filters -'); ?> |
| : | |
| : | Installer->OptsSecureOn ? "On" : "Off" ?> |
|
|
|
| : | Installer->OptsDBHost) ? $package->Installer->OptsDBHost : $lang_notset ?> |
| : | Installer->OptsDBName) ? $package->Installer->OptsDBName : $lang_notset ?> |
| : | Installer->OptsDBUser) ? $package->Installer->OptsDBUser : $lang_notset ?> |
| : | Installer->OptsCPNLEnable) ? 'On' : 'Off' ?> |
| : | Installer->OptsCPNLHost) ? $package->Installer->OptsCPNLHost : $lang_notset ?> |
| : | Installer->OptsCPNLUser) ? $package->Installer->OptsCPNLUser : $lang_notset ?> |
| : | Installer->OptsCPNLDBAction == 'create') ? DUP_PRO_U::__("Create A New Database") : DUP_PRO_U::__("Connect to Existing Database and Remove All Data") ?> |
| : | Installer->OptsCPNLDBHost) ? $package->Installer->OptsCPNLDBHost : $lang_notset ?> |
| : | Installer->OptsCPNLDBName) ? $package->Installer->OptsCPNLDBName : $lang_notset ?> |
| : | Installer->OptsCPNLDBUser) ? $package->Installer->OptsCPNLDBUser : $lang_notset ?> |